package fachadaImagen.actions;

import multimedia.IMultimediaDAO;
import multimedia.MultimediaDAOFactory;

public class EliminarImagenAction {

	private String imagen;

	public EliminarImagenAction(String imagen) {
		this.imagen = imagen;
	}

	public void Execute() {
		try {
			IMultimediaDAO multimediaDAO = MultimediaDAOFactory.GetDAO();
			multimediaDAO.eliminarMultimedia(imagen,"imagen");

		} catch (Exception e) {

			return;
		}

	}

}
